/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package src.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author LeMinh
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name="", propOrder={
    "product"
})
@XmlRootElement(name = "products")
public class Products implements Serializable {

    @XmlElement(required=true)
    List<Product> product;

    public List<Product> getProduct() {
        if (this.product == null) {
            product = new ArrayList<Product>();
        }
        return this.product;
    }

}
